2020-2021 Sunseeker Telemetry and Lighting System
saph_a_ex3_pulseGenerationDMA.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void HSPLL_routine (void)
 
void setup_DMA ()
 
int main (void)
 
 switch (__even_in_range(TA2IV, TAIV__TAIFG))
 
 __bic_SR_register_on_exit (LPM3_bits|GIE)
 
 __no_operation ()
 

Variables

uint16_t RAM_XE [20]
 
uint16_t RAM_DMA_CONFIG [60]
 
uint16_t epulse [3] = {4,3,4}
 
uint16_t hper [3] = {8,16,26}
 
uint16_t lper [4] = {8,16,26}
 
uint16_t xpulse [2] = {3,4}
 
uint16_t xhper [2] = {36,56}
 
uint16_t xlper [2] = {36,56}
 
DMA_initParam dmaParam = {0}
 

Function Documentation

◆ __bic_SR_register_on_exit()

__bic_SR_register_on_exit ( LPM3_bits|  GIE)

◆ __no_operation()

__no_operation ( )

Referenced by HSPLL_routine(), and main().

◆ HSPLL_routine()

void HSPLL_routine ( void  )

Definition at line 208 of file saph_a_ex3_pulseGenerationDMA.c.

References __no_operation(), and param.

Referenced by main().

◆ main()

int main ( void  )

◆ setup_DMA()

void setup_DMA ( )

Definition at line 282 of file saph_a_ex3_pulseGenerationDMA.c.

References dmaParam, epulse, hper, i, lper, RAM_DMA_CONFIG, RAM_XE, xhper, xlper, and xpulse.

Referenced by main().

◆ switch()

switch ( __even_in_range(TA2IV, TAIV__TAIFG)  )

Definition at line 165 of file saph_a_ex3_pulseGenerationDMA.c.

References dmaParam, RAM_DMA_CONFIG, and RAM_XE.

Variable Documentation

◆ dmaParam

DMA_initParam dmaParam = {0}

Definition at line 164 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA(), and switch().

◆ epulse

uint16_t epulse[3] = {4,3,4}

Definition at line 64 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().

◆ hper

uint16_t hper[3] = {8,16,26}

Definition at line 65 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().

◆ lper

uint16_t lper[4] = {8,16,26}

Definition at line 66 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().

◆ RAM_DMA_CONFIG

uint16_t RAM_DMA_CONFIG[60]

Definition at line 62 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA(), and switch().

◆ RAM_XE

uint16_t RAM_XE[20]

Definition at line 61 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA(), and switch().

◆ xhper

uint16_t xhper[2] = {36,56}

Definition at line 69 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().

◆ xlper

uint16_t xlper[2] = {36,56}

Definition at line 70 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().

◆ xpulse

uint16_t xpulse[2] = {3,4}

Definition at line 68 of file saph_a_ex3_pulseGenerationDMA.c.

Referenced by setup_DMA().